{/* <template>
    
</template>  */}
import Vue from 'vue'
import axios from 'axios'
export default new Vue({
    data () {
        return{
            data:[]
        }
    },
    created() {
        axios({
            method:"get",
            url:'https://www.escook.cn/api/goods'
        }).then((res) => {
            console.log(res);
            this.data = res.data.data
        })  
    },
    methods : {
        go(path) {
            this.$router.push(path)
        }
    }
    
})
